Fix OSX compilation error. 

NSNotification -initWithName:object:userInfo is not available in OSX 10.8 SDK or earlier.

Changed to use +notificationWithName:object:userInfo instead , which works both on iOS and OSX