updated "win32" to "windows" in target_os checks