Set correct automake version for debian.
Remove quilt depend.
Fix compilation error.
Set correct 'finalize_rpath'.