separate glfw bits out