Pthread functions stubs for platforms missing them
