Minor fixes to Cargo build.
Merge pull request #54 from metajack/cargo-fixes

Minor fixes to Cargo build.