renderer: Fix C++ compilation