cmake: Use -std=c++0x instead of -std=gnu++0x

Old flags didn't work with clang. Now both gcc and clang work fine.