Fix build for latest Rust
Merge pull request #468 from Arcterus/fix-build

Fix build for latest Rust