implement conditional dependencies for menuconfig and build deps