Make ant file compatible with the outdated version that travis runs