fix building with perl 5.18