Added try/except for when pkg-config does not exist