Triangle compiles with VS 2010