Fixed compile error so that the current version of ant can be used.