debian package update

These patches allow creating debian packages for python2 & 3.