Fix compilation on Mac.