Ant build script update

Updated the Ant build script (build.xml) by replacing hard-coded paths with project environment variables.