cmake: don't check for c++ compiler

We don't actually need one.