Fix boolean casting
Merge branch 'master' of https://github.com/dmallon/compiler