Improve support for generic Debian packages.