forgot -pthread