Allow MIR programs that don't start with ENTER.
Export main entry point.