SetUnixEnvironment() commit

This is to fix the locale bug