Perl build fix