Fixed compile issue with rust-git (0.10)

Hello,
The git version of rust does not let me compile this. I am not sure if you are targeting the stable version or the git version but I figured I would send a pull regardless and you can disregard accordingly.

Thanks for the library!