Fix compilation in VS2013