Update to work with rust master

Version compatible with 0.7 is avaible in rust-0.7 branch