Makefile: use configured man3ext from Perl

Gets configured man3ext from Perl instead of assuming 3pm suffix

Assuming 3pm breaks building from source on Perl distributions configured with
a different suffix (3perl, 3, ...).

Observed on a fresh install of Slackware 14.1.
Merge branch 'fix-man3ext' into devel