MinGW build adjustments