fixed cmake cache problem
This fixes a problem with cmake where pkg_check_modules used to overwrite PKG variables for the glfx and netcdf packages
This fixes a problem with cmake where pkg_check_modules used to overwrite PKG variables for the glfx and netcdf packages