Fix compilation warning on Windows