enable shared library for orfeotoolbox dependencies

I had a new library which used qwt5.0. I tried to downgrade qwt but didnt worked. Actually I could modifiy qwt_qt4 only for having qwt5. This should be reverted.