Changed NCurses code to be optional.
Fixed include path.