[sgen] Fix clang compilation.