os.uname not defined for Windows. Unified Mac platform test similarly to is_win and is_linux