Separated Environment build logic for WinRT and WindowsStore