Fix compiler warnings from new Rust
Merge pull request #26 from metajack/rustup-20141105

Fix compiler warnings from new Rust