you are correct it is because of these lines
``` #if MONGOC_CHECK_VERSION(1, 5, 0) mgcon->cursor = mongoc_collection_find_with_opts (mgcon->collection, seldoc, mgcon->colsdoc, NULL); #else mgcon->cursor = mongoc_collection_find (mgcon->collection, MONGOC_QUERY_NONE, 0, 0, 0, seldoc, mgcon->colsdoc, NULL); #endif
```
i tried installing 1.5, it worked but it does not work for 1.7 either