Removed old OS detection code