Add support for passing bools via libffi.
Merge pull request #229 from yallop/passing-bool

Add support for passing bools via libffi.