Fixed natives for new glfw2/3 model.