updates makefile for the lib