Rust 0.8

Update to compile with rust-0.8