Revert "use ncurses patch for ubuntu"

This reverts commit 751106b774da77f4bbc0fd46f31f6b91a90301b7.