Fixed Windows infinite loop on create
Merge pull request #23 from aelr/ix-windows-infinite-loop2