Fix compilation with rust 0.6

This is a simple patch to enable rust-sdl to compile with rust 0.6 (as packaged on Arch Linux).