Make sure locales are configured to avoid warnings.