boost: Fix incompatible applications
botan: Refactor into generic builder