Remove ncurses import from util