Fix the build failure if -fvisibility-inlines-hidden is used