Fixed compilation errors for rust v0.13
Merge pull request #7 from warmwaffles/fix-compilation

Fixed compilation errors for rust v0.13