Fix class name in C++ template