ncurses build on linux modern systems

Some Linux systems don't use {includedirs}/curses.h. They uses {includedir}/ncurses{w}/curses.h because system can have two different ncurses library (ncurses and ncurses with wide char support).
To get right includes and link options we need to use special tool: ncurses{w}5-config.

This fix build error at least on Ubuntu 14.04