Fixes cake bake all. Refs #1443.
Merge pull request #1445 from Phally/master-3895-2

Fixes cake bake all. Refs #1443.