Fixed mistake using CXX instead of C.