Fixed windows problems.