Fix build on sparc
Add missing dfsg removals
Fix build on kFreeBSD