Fixed compiling on VS2013/12