make python work on windows
make python work on windows

reusing some code from pytorch
https://github.com/pytorch/pytorch/blob/master/torch/utils/cpp_extension.py

CERN/TIGRE,CERN/TIGRE,CERN/TIGRE,CERN/TIGRE