Resubmit #67161 (#67735)
Summary:
Skip building extensions if windows following https://github.com/pytorch/pytorch/pull/67161#issuecomment-958062611
Related issue: https://github.com/pytorch/pytorch/issues/67073
cc ngimel xwang233 ptrblck
Pull Request resolved: https://github.com/pytorch/pytorch/pull/67735
Reviewed By: bdhirsh
Differential Revision: D32141250
Pulled By: ngimel
fbshipit-source-id: 9bfdb7cf694c99f6fc8cbe9033a12429b6e4b6fe