`Bool` isn't really a valid return type for a C-function. It should be `Cint`, and wrap the whole `ccall` in a call to `bool()`