Fix example compilation