Fix build error on VS 2012