telemetry: add missing C++ guards