Added a check for dpkg, will only build debian (.deb) files when dpkg is found.