Added macro to make tests compile in Visual Studio.