replaced my pkg_config parsing logic with a call to pkg_check_modules.  hopefully that's actually more robust