CMake: remove unused feature.

Furthermore, linkage with tcmalloc should be specified on command line.
CMake: test C++11 support.