Fix compilation with Rust nightly