remove old C, fortran FFI codes