add the -ltinfo info to compile agains the ncurses static lib

This is need to have the libncursesw lib (on SLC6)