Fixed crash in GLFW target in debug mode