Fixes for building archipel with new cappuccino tools

this pull request is about https://github.com/cappuccino/cappuccino/pull/1960.