Fix typo
Add ast build exception handling from AstBuilder to BuildAst()