Support starting with -main.