enable shared library for orfeotoolbox dependencies

libjson-c disables shared lib build. should i disable it after checking build is shared or static?