fix GLFW location finding on OSX when location is in environment variable