Clean up MinGW build warnings.