Fixed the dependency problem in ast.cc