Add :fortran dependency

Address #13621.