mingw-w64 compiles cleanly