pkg_get_variable does not work for packages not in /usr/lib/pkgconfig
pkg_get_variable does not correctly return a result when the .pc file for a package is not in /usr/lib/pkgconfig. If the .pc file is copied to /usr/lib/pkgconfig, the variable's value is returned correctly.