Autotools update Updates for issue #181. Still need to do some testing if tcmalloc is better. See merge request !190