some examples needed update to build on latest compilers