Fix WiredTiger's wrapper to be compatible with c++11