New ScalaCompiler ctor.