Depending on debhelper 9 or later.
Remove automake options 'foreign' and '-Werror'.
Using '>>' instead of deprecated '>'.
Add debug package.