fixes for 'make debian-testing' package building code
for ubuntu/debian