client: c++: fix build