configure: Use PKG_PROG_PKG_CONFIG macro to allow cross building.