Fixed build issues with glfw