Fix for dispatch_sync and dispatch_async in header