zcache: customizations for testing.
fixups for cross arch build