Temporary fix for clang and -pthread.