Support compilation with MinGW toolchain
Merge pull request #1 from torsti/mingw

Support compilation with MinGW toolchain