Fix #1 for windows.