added static library and shared library creation to the makefile