Added fix for LC_ALL variable.