Fix compilation error under OS X.