Fix clang/-pthread problem in mavericks.