Fix compilation for rust 0.8 pre.
Merge pull request #1 from vladimir-lu/master

Fix compilation for rust 0.8 pre.