Definition necessary to compile in MAC OS