improved Swift support and iOS 8 Dynamic framework