Fixes lintian errors and warnings.