I think there should be an isWindows function instead of having `'Windows_NT'` sprinkled throughout the code.