Updated library makefile