Fixed MinGW warnings.