Another attempt to fix Perl 5.12 support