enable shared library for orfeotoolbox dependencies

Unrelated changes.