posix workaround locales when LC_ALL empty
making conditional the LC_ALL workaround
fix some locale problems in posix systems issues #886, #884