Allow use of ruby's integer type for booleans