since f585b129 neither PCRE nor PCRE2 backends rely on POSIX regex, so reflect it in library detection logic