Add support for dpkg-based packages during both compile and runtime.