[IOT-2908] Build fail for option WITH_CLOUD.