enable shared library for orfeotoolbox dependencies

revereted this change