set correct API version for GLFW