fix windows build