fix building in windows