Small fix for one example to compile with latest rust master and a misc example fix