Changed the way it detects whether the computer is a Mac or not.