added patch from homebrew to fix ncurses on clang