acu74845 tweaks for mingw 1.9.3