Makefile.mingw32: improve mingw build