Replace obsolete `defaultUserHooks` by `autoconfUserHooks`