Fixed windows compatibility