incorrect compile-time check for HAVE_VISIBILITY
I tried to compile on a very old box and got syntax errors. It turned out that the configure script had noticed the old compiler and set HAVE_VISIBILITY to 0, but the code itself checked
ignoring the value of the setting.
It compiled after I corrected it to