Add ThreadSafetyType.h to fix broken build.