curses: ncurses may define curs_set outside of curses