Remove C++ dependency

The C++ kernels can be written as C kernels, which simplifies the build
procedure
parent 12b958fd