removed pthreads flag from windows build