build: correct caf-bfam conditionals

Change-Id: Ib708ee7ce76ed6744ef43adec51c9b370a3e0eb5