Cocoapods 3.4 fixes

Closes #22 

See that issue for notes on migration.