ncurses added to -l option for linker