Fix build with rust master

hashsum is still broken due to pending rust-crypto update.