Fix warnings with perl < 5.16