Port to glfw3
Merge pull request #2 from mjard/master

Port to glfw3