A fix for the 'locale::facet::_S_create_c_locale name not valid' error