fix git links
add ffi extension