Fix build for rust-0.8
Merge pull request #3 from zeux/master

Fix build for rust-0.8