Make C++ files in doc/examples/ compile again.