Improve build.xml: better configuration