Assorted fixes (lintian, build deps, etc).