Ant script fix - errors but works