Fixed ant file to support ant 1.7