make.sh: add SYS_ROOT parameter and restore terminal after install