Fix for non curses build.