Only build framework schemes

Fixes #124. Tested with the unit test fixture and also the `Cartfile` described in the original issue.

/cc @0xced
what's the effect of the `let` here?