Modify the options to be compatible with 3.5.0

Needed for influxdb/influxdb#1019