fix a bug in install-scala.sh