I think you should first confirm if the bundled zlib,?expat?and?pcre was heavily changed
compared to the system-wide libs. If they are heavily changed, you maybe need use bundled
version. otherwise it must be patched to avoid using bundled libs.