Add boolean type
Remove cast the prototype has changed in libmaxminddb