Altered the CMake script to respect BUILD_SHARED_LIBS
Default to shared build instead of static