removed boost, added pthreads