Update for rust-core-foundation changes.
Merge pull request #4 from metajack/lang-fixes

Update for rust-core-foundation changes.