Added reference to pthread