Make mongoose compile on mingw environment
Merge pull request #411 from mmicko/master

Make mongoose compile on mingw environment