Resolve warnings when run with perl >= 5.16.2.