Fix compilation for 0.8.324