fixed Windows build