Fix CMakeLists to hopefully gracefully fail if pkg-config is not found.