Fix pthread @KevinSupertramp