Change to build shared libs by default

You can still use -DBUILD_SHARED_LIBS=OFF to disable.