Make setenv.sh works on all POSIX system