Add libffi to the ld_library_path