adding support to generate .deb and rpm packages