Fixed issues resulting from upgrade to GLFW3.1 in fox 0.8.2

Here are the changes needed to get things working with ofx 0.8.2+

Things have been tested on OSX but should work for other platforms