Fixed static compilation for boolean attributes.