configure: fix sha256sum/sha256 checks