update to compile on latest rustc
Merge pull request #12 from csherratt/master

update to compile on latest rustc