[AddCompilerFlags] fix typo: was used C compiler for CXX flags.