Patch from Robert Schwebel -- support ncurses installed in /usr/local