Add a better `ant build purge` implementation