enable shared library for orfeotoolbox dependencies

opencv was installing to target/prefix/x86/mingw/ . I thought  this could be change via install prefix. change is reverted