Revert SWIG to old bool behavior so we can pass ints from Python.