Catch more exception for pkg-config (including non-zero return)