Updated notification system to be tolerant of other OSes.