Fixed compilation problem on MinGW
Merge pull request #16 from hattya/mingw

Fixed compilation problem on MinGW