telling cmake explicitely to use pthread