Changed Makefile to build library, tgetstr undefined ??