Code compiles now with VS2013