cmake: fix BUILD_SHARED_LIBS build on mac
cmake: fix BUILD_SHARED_LIBS build on mac

add some missing dependencies and convert utility libraries to
static only libraries to avoid creating unnecessary shared object
libraries which may fail to link due to missing symbols.

Change-Id: Iaa91a3d97fa5af6ada4b2a851cc7fc2879d871da

webmproject/libwebp,webmproject/libwebp,PKRoma/libwebp,webmproject/libwebp,PKRoma/libwebp,PKRoma/libwebp,PKRoma/libwebp,PKRoma/libwebp,PKRoma/libwebp,webmproject/libwebp,webmproject/libwebp