Minor fixes for GLFW 3.0.1

Fixes some stuff so that it compiles.

You have to look over it again, im currently learning haskell and wanted to use the bindings
Only fixed the compile errors, there are propably more changes.