Allow building without ncurses