fix previous commit for #3253 so it builds on windows. implement get_priv_state for windows.
fix previous commit for #3253 so it builds on windows. implement get_priv_state for windows.

htcondor/htcondor,djw8605/condor,djw8605/htcondor,djw8605/condor,djw8605/htcondor,neurodebian/htcondor,neurodebian/htcondor,djw8605/htcondor,neurodebian/htcondor,zhangzhehust/htcondor,zhangzhehust/htcondor,zhangzhehust/htcondor,djw8605/htcondor,htcondor/htcondor,zhangzhehust/htcondor,neurodebian/htcondor,htcondor/htcondor,zhangzhehust/htcondor,zhangzhehust/htcondor,zhangzhehust/htcondor,htcondor/htcondor,neurodebian/htcondor,djw8605/htcondor,djw8605/condor,djw8605/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,zhangzhehust/htcondor,djw8605/condor,djw8605/htcondor,djw8605/htcondor,djw8605/condor,neurodebian/htcondor,neurodebian/htcondor,htcondor/htcondor,zhangzhehust/htcondor,neurodebian/htcondor,djw8605/condor,neurodebian/htcondor,djw8605/condor,djw8605/htcondor,djw8605/condor