Support Visual 2012 compilation