Stop including some superfluous libraries in the ant build.