Fix windows build