Fix detection of OSArchitecture under Win7