Fix compillation of the example