[Refactoring] Fixed windows build.