Fixed a segfault related to old versions of PCRE