fix compiling on Windows after commit dbdee51