[tools] Fix compilation.