Fix missing HAVE_VISIBILITY dependency

Thanks Richard S. for finding this one.