Fix MinGW build.
Merge pull request #14 from jschueller/master

Fix MinGW build.