support building with UTF-8 support in OS X

ncursesw had been integrated into ncurses so replaced "-lncursesw" to "-lncurses"
and then '--enable-utf8' works!