Use the right method to fetch a pkg-config variable. https://bugzilla.gnome.org/show_bug.cgi?id=785248