enable shared library for orfeotoolbox dependencies

Why did you remove `--disable-reference`?