compile.bat for mingw sample