Return to glfw2 and fixes for linux example