Fix compilation OSX