pthread mod in testing cmake