Build fix second attempt.

Declare the dependency of top and watch to the ncurses headers.