Adding support for libmongoc v1.0.0+