enable shared library for orfeotoolbox dependencies

This is not always the case for x86_64-w64-mingw32.static