Fix ant dependency tracking.