[Pthreads] Forgot to add #if/#endif guards