Set inline hidden flag only on shared library building To avoid need of CMP0063 which is not available on older CMake versions