tweaks for MinGW optimized build to correcly run
tweaks for MinGW optimized build to correcly run

ppiecuch/wrath,nomovok-opensource/wrath,ppiecuch/wrath,nomovok-opensource/wrath,nomovok-opensource/wrath,ppiecuch/wrath,ppiecuch/wrath