replace ast_build_string() with ast_str_*().