Fixed windows incompatibilities!