Add readline support for Ubuntu