Made ant deb depend on dist

The deb target now explicitly depends on dist so the $version property will be set.  See issue #2973.