remove TERMINFO ifdef