Changed StartupApp to run in AOT mode.