Support -ltinfo needed for -lreadline