fix for LC_CTYPE perl warnings