MinGW build fix.