compiler error from name collision in Visual Studio