Restore _check for_pkg_config behavior