auto-detects operating system