changes from newer GNU pkg-config to add PKG_CHECK_VAR. Required by newer glib2. Tested in a bulk. ok jasper@