Adding CMake visibility policy setting
This policy setting will silence a warning when using with a visibility settings on targets. Due to the forced cmake_minimum_version, policy settings in CMakeLists calling this one (including the main CMakeLists) are lost, forcing the change to be made here.