Fixed bugs in build.xml