build.xml modified to work properly