MinGW doesn't support locale-specific I/O functions

MinGW has limited support for locale-specific functionality used in the recently merged OCCT 6.6.0