OS X: don't use -pthread flag