Make LANG setting appropriate for linux and os x