using Platform to determine if the OS is mac