Mingw32 fix (Fixes #4)