Console: Fix bug with setting Booleans on cpp targets, closes #802