Updated CMakeLists shared library build for Linux