improve mingw format