enable shared library for orfeotoolbox dependencies

I thought cmake would be a better choice if there is also autotools.