compat: move definition of COMPAT_CONFIG and COMPAT_AUTOCONF