Add ncurses submodule and build script