fix get path using pkg-config