Builnding scripts update
Improve Thread-Local support on Clang