Make it compile in MacOSX