Fix compillation on Windows