fixup mingw crosscompile on linux