Makefile to create a shared library