Updated the code to work for the latest glfw.

fail_on_error has been removed and replaced with adding glfw::FAIL_ON_ERROR to the initializer from what I can tell.