ant build script fixes