Apply MinGW related workarounds
Fix PE32+ format detection