Add check for build without PCRE_STATIC defined.