Fix compilation regression in ado