aot compile main class