Fixed appending built-in functiosn to AST