Add PATH_MAX workaround, improve benchmark.pl

BTW, I think the christmas holidays are a good time to release `v1.8-rc1`, what do you think?