Fix #1 Windows compatibility