fixing OS type check in basic_environ.sh