compile on mingw32
Merge pull request #2 from imbaczek/master

compile on mingw32