Upgrade to GLFW 3 and CMake for build.