add cxx to sys-libs/ncurses use mask on solaris