clang on OS X doesn't require pthread when linking. Disabled -Werror