Fix python readline support.