added makefile for building library