Get examples working with latest compiler