Ncurses fixes for brew