expat, libffi and sqlite formatting