CMake : add the option to use dynamic linking for Boost
It can be useful to link with the dynamic version of Boost libraries
This Merge Request introduces a CMake option (available as a checkbox in the GUI) to make this choice By default, we keep the static version, for backward-compatibility.