Packaging fixes for readline