r9377: add building of shared library