Fix erlcloud deprecated warning.