use os.name rather than os.uname()[0] so documentation builds on windows