[SR-Dev] git:master: use pcre-config when available, based on patch #2781237 from Jinke Jiang