Update to support -fvisibility=hidden