ir: Modify base to compile with -E.