Make examples be compiled correctly