* if built with non-threaded locale, we need to sanitize the getenv("LANG")