Don't pass -pthread when linking on OS X
Don't pass -pthread when linking on OS X

Seems that -pthread is an error when linking with -Werror on OS X
because it doesn't need any extra libs for pthreads.

dpw/molerat