compile on mingw32

These changes make glfw-rs compile on mingw32.