configure: Support symbol visibility when available