now building shared library