Solved some Windows warnings