Try adding Rmath submodule again.