Added make rules for the shared library