fix windows build problem