Fixed compile error when without pcre

Fixed compile error when with "--without-pcre --without-http_rewrite_module".