Fix passing of float arguments through ffi.