Make it work on MingW
Modifications following code review
Renamed win32.* -> mingw.*
Merge pull request #285 from marcsanfacon/master

Make it work on MingW