Hashes now get checked in all builds, not just debug.

The thougth is that we want to check for collisions all the time
since in the future there will be more call for scripted hash
generation which can't be so closely governed at compile time.