Shared library can now be built with CMake on Linux