Re2 extension laid out, pcrelib linking statically now.

The main reason for this Pull Request is mainly, that the provided pcrelib is now being linked statically. This eliminates the possibility of a pre-installed pcrelib being "broken" with OS.

CMake is aware of that and thus only links the libraries that are really required, now. If CURL is disabled, then libcurl will not be linked either.