Corrections for MinGW