mac_os_x: patch ncurses so it builds