Fixed warnings related to dispatch_source_t usage.