Move PCRE checks to single place (Redmine #2015)
Do not link to libPW on HP-UX (Redmine #2089)