Fixing the check for a cached installation of glpk