Test if the build script is using an old version of Ant or Java

If not, print out some diagnostic information.