Bug fix "Error: getenv no longer supported, use properties and -D instead: SystemRoot"