fix type error building 0.9
Merge pull request #2 from briancappello/master

Fix compile error in v0.9