Update to the last Rust.

Path::new is replaced by Path::init.

Also, not sure this is correct, but rustc required the option `--link-args -lm` in order to compile
demos using the cosinus.