Allow specifying the Kernel is C++ code