Fixed build when "sha" package isn't available