Fix compiling code with booleans