lib/sha256: fix compile on some hosts