Fix dependencies on pcre libraries.