client: Fix C++ compilation