git: use opt_prefix for pcre
git: detect presence of perl's ExtUtils::MakeMaker