[Common] Platform specific stuff.

Minor cleanup to get rid of that annoying `if defined(__clang__) || defined(HAVE_GCCXX)`.