s4-waf: added auto-detection of perl manpage extensions