Carthage support

In case anyone needs it.