Fix install.sh bug caused by running source in a non-interactive shell.