Fix build in autocomplete.