Fix dll loading issue for Caffe2 and Windows
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/17215
Reviewed By: orionr
Differential Revision: D14138445
Pulled By: kostmo
fbshipit-source-id: 0bb4f2f1ed5bda7416ba7e4c6b0618414b328934