Remove Perl dependency for Debian packages.

Fixes #6150