Move fallback to CLS detection to configure script.