Fix use of tcmalloc with other variables