BUILD_SHARED_LIBS added to CMake