Fix pcre crash