Fix build under win