Fix some lintian errors and warnings