Fix compilation error on example