[Ant] Fixed missing dependencies in building parsers.