adjusted Makefile
added thread_local define for llvm