update the makefile for the lib folder