Android doesn't have pthreads lib, it uses a flag.