Added method to determine if the current OS is Mac.