debian packaging scripts update

Fixes issue #24 when building debian packages.