Build libffi for running local tests