Add first phase to the scala compiler.