XCode 6.1 GM2 fixes

XCode 6.1 GM2 refuses to build Alamofire correctly, here are some fixes I applied to make it build again.