Fix load of auto-complete

We still use the require for auto-complete when we want to use it for
the first time. Also if we don't have it, do not try to set-up the
feature and simply ignore it.