Add support for passing bools via libffi.