support libpatch in libproxify