MongoDB driver in C