ptclient: enable pthreaded support