Use CXX flags

Because we use C++ for all files.