Fix Perl dependencies