Removed warnings in MinGW about pragmas and strcasecmp

Removed warnings in MinGW about pragmas and strcasecmp.