Fixed build problems with datum_t constructor not taking a long.