Added support for LC_CTYPE on SunOS and HP-UX, thanks to River for testing these...