Changes for MinGW compiler
Merge pull request #44 from procedural/master

Changes for MinGW compiler