Fix warnings with latest rust.