mingw build improved.