Under Windows, locale names are different and setlocale() with regular locale names will fail; so just set the default locale and quit early. This will avoid polluting the logs with numerous 'Failed to set locale' debug messages