Fix OSX compilation error. NSNotification initWithName: is not available in OSX 10.8 SDK