Fixed crashes related to dispatch_get_specific() on iOS 4.x, removed a deprecation warning.