Shared library for c++ and c projects