Allow to specify ncurses libs at buildtime

If the system is using libtinfo then you need ot link against libncurses and libtinfo.
With this patch it is possible to specify this at buildtime.

Signed-off-by: Justin Lecher <jlec@gentoo.org>
Merge pull request #1 from jlec/ncurses

Allow to specify ncurses libs at buildtime