detecting the operating system