build: reorder ADL checks.

If `--disable-adl-checks` is given, enable ADL immediately.