fixed the compilation errors in the examples (excepted the avro project)