Fixing issue #439,

For some reasons under freebsd the include directory is /usr/include/ncurses, but there is a curses.h file also in /usr/include, leading to a wrong include directory set.

Also we were setting EC_INCLUDE but never including it!