Restore compatibility with perl 5.8