Fix build.xml for Ubuntu PPA, hopefully for the last time

Path expansion is not working in the Ant way, fudge it using the library
list and some sed magic.