Add extern C to maxminddb.h for C++ compilation