static or shared libraray based on CMake_BUILD_SHARED_LIBS