Use $PKG_CONFIG environment variable instead of $have_pkg_config