build: abort if -fvisibility=hidden isn't supported by CC