Implemented import library resolution using pkg-config (untested).