Updated to use pkg-config for ncursesw.

  This allows compilation to succeed on DragonFly BSD, and
 continues to work on GNU/Linux.

  This updates #181