fix compile with visual studio >= 2014