This check is incorrect

There's no need to switch based on the use of COCOAPODS. The correct type is defined by OS_OBJECT_HAVE_OBJC_SUPPORT period.
Merge pull request #420 from foozmeat/patch-1

The DISPATCH_QUEUE_REFERENCE_TYPE check is incorrect