Fixed copy&paste in the windows implementation