Fix bug where compilation output was not cleared between test runs.