Fix build with latest Rust version.