SWIG docs suggest -DHAS_BOOL