add vendor/cpp-netlib.patch and use it in the build script