Fix compilation if size_t != uint64_t