build pcre and friends