cpp: try to fix broken clang build