Fix compilation error with report.dir.
CliReporter now in DIC.