Treat C++ flags more like C flags, and only if C++ compiler specified