use TrueClass/FalseClass instead of Boolean

fixes support for Ruby 1.9.x