Make pkgconfig optional instead of MSVC dependent