Swift plugin builds with Xcode 6.1

Fixes #23
Merge pull request #24 from neonichu/master

Swift plugin builds with Xcode 6.1