Simplify compileAndAlt