Handle old Lenny distribution

Lenny doesn't have readline6 so downgrade to readline5.