Added workaround for Windows.