fix to set locale from environment, for issue #81