VS2012 upgrade compiles