Platform parameters in C++ come from CMake.

Rather than checking the current platform using the C++ preprocessor,
its easier to just reuse the platform that CMake decides upon. This way
there is no ambiguity between what CMake thinks and what the compiled
code thinks.