Fix C++ build.