Made build.xml more generic