enable shared library for orfeotoolbox dependencies

Tabs. Why did you remove libjson-c?