Make it work with Rust 0.12

Travis: test against Rust nightly.