Fix compilation error with newest Persistent