Fix OSX compilation error. 

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