Fixed compatibility issues with msgpack lib