Use PKG_PROG_PKG_CONFIG to detect pkg-config
Planner uses AC_PATH_PROG to detect pkg-config which fails when cross-compiling. See https://bugs.debian.org/884798 for more details.
Planner uses AC_PATH_PROG to detect pkg-config which fails when cross-compiling. See https://bugs.debian.org/884798 for more details.