Merge pull request #110 from alainmarcel/alainmarcel-patch-1

Guard for misuse of python API, fix example that had a misuse, add -DNO_TCMALLOC in case of tcmalloc issues