Added option to use TCmalloc memory allocator.