Use ncursesw as curses for bash
Move setting ANT/JAVA home/path to build script