Auto-detect readline, don't use it if it's missing.