Include PKG_CHECK_VAR macro for reading variables in .pc files

Freedesktop #48098 (https://bugs.freedesktop.org/show_bug.cgi?id=48098)