updates to compile in vs2013