Make ant non optional to avoid build failure.

More investigation is needed.