Adjusting to compile in OS X.