installer: enable WINOSDATA environment for detecting Windows OS

Change-Id: Ibb09fd5bc5bb3be9dcfa7ddccf66882f56b35760