minor fixes to the GLFW motion callback to fix MSVC++ build errors.

fixes #149