add pthread on ubuntu it is missing