enable shared library for orfeotoolbox dependencies

Unrelated change