Update CBoolean

Update CBoolean to the latest method.
Merge pull request #1 from lukecfairchild/patch-1

Update CBoolean