make Dumper.xs work with 5.10.x