configure.ac: manually expand PKG_CHECK_VAR