ushare: fix build with clang