Use variables instead of variable names in pkg-config check.