compile mingw executables static