Replace readline with the BSD licensed linenoise library