Add warning flags for c++ compiler, too