CMake: use gnu++0x for the C++ standard

Older GCCs don't support gnu++11 as a standard but still support enough
C++ for our needs.