[Bug 440371] XIM script overwrites LANG variable incorrectly