handle situations where curses is not installed.