Fix up C++ version detection macros and cmake tests.
3 files changed