Correct the class name in cpp ast.