Fixed the cpp_netlib adapter.