fixed build error on VS2012 toolchains.