configure: Rework dependency handling for conflicting components