using cmake std variable name BUILD_SHARED_LIBS to build shared libs