Fix lintian error and warnings