Now compiles with the mingw compiler