Added back SCALA_HOME for console running environment.