fixed pkg_config detection for Linux cross compiler