add -lncurses to the Makefile