fix compilation in windows (VS2013)