ganglia: fix man pages
ganglia: use opt_prefix for pcre
ganglia: fix var directory

Fixes #28435.