fixes for changes to runCompiler