Add influxdb 0.8 compatibility.