enable shared library for orfeotoolbox dependencies

Why?