fixing ant script to build for java 1.6