More portable glfw stuff