Try to fix some lintian warnings and errors