Fix compiles under Windows