added lib target to makefile