* Make ANT version detection more robust.