Cleaned up the conditional import

Cleans up the method used to include specific subspec for cocoapods