Bug fix (only affects some versions of Perl).