add windows environment variable parsing support