Allow to build LidarSlam lib as STATIC
This adds an option to build LidarSlam lib as STATIC or SHARED library. LidarSlam lib is still built as SHARED by default.
This allows to build a standalone LidarSlamPlugin that can be loaded in Paraview/LidarView.