small changes for xmlsec1 lib
added libffi support