Fix compilation for updated rust compiler and rust-sdl2.

Also update rust-sdl2.