Using pTHX_/aTHX_ for a couple calls where previously dTHX was used.
Consistently use Newxz instead of Newz.
Bumping minimum required perl version to 5.8.1. Perl 5.8.1 was released more than ten years ago and changes to Makefile.PL broke pre 5.8.x builds anyway for a while now.