Fix compilation with trunk.