enable shared library for orfeotoolbox dependencies

change added