set GLFW error callback