WIP - mingw32, i.e. Windows, support (Tested with mingw32-w64 from mxe)