add windows environment detection