Fix ant errors relating to ant versions.

Possible fixes to jenkins in process. This was needed for manual building anyway.