Add a guard to CommandLine.ControlCHandler to avoid recursion.
Fall back to Mono.Terminal.LineEditor when libreadline is unavailable.