install a newer compiler for c++11 support.
Add diagnostic print for tcmalloc.