Make compatible with older versions of Perl.