Added/updated build scripts and fixed an issue with the digest comparisons.