Tweak to allow running on Perl 5.10.0+

See GH #1