[cmake] Don't hide symbols by default (#891) But keep use of cmake idiomatic way of making inlines hidden