making conditional the LC_ALL workaround