cmake: enable the visibility flag also for clang and intel compilers, needed if you use the rtt/typekit/Types.hpp explicit instantiation header

Signed-off-by: Ruben Smits <ruben.smits@intermodalics.eu>
Merge pull request #38 from smits/master

Fix visibility flag for clang and intel compilers