MinGW doesn't support _create_locale or _free_locale

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