Added configure checks to enable desktop notifications on OSX