Fix Perl requires and filter.