Makefile now allows for creation of static or shared library.