Do not force SHARED library

We need static for cross compiling portability, and to compile this we had to patch this file since it does not obey the system settings.
Merge pull request #6 from ros/do_not_force_shared_hydro

Do not force SHARED library