fix compilation on SunPro, re #13

tested with:
CC=/opt/SUNWspro/bin/cc cmake .; make
with
$ cc -V
cc: Sun C 5.10 SunOS_sparc 2009/06/03

(hiding of internal symbols works now)