Fixes for builds using Jim's homebrewn SHA-2.