SERVER-10362: only use pthread_yield on linux, on osx use sleepmicros(1)