enable shared library for orfeotoolbox dependencies

This script is not used anywhere.