Fix compiling on VS2012.