You can just delete any Makevars or Makevars.win files unless you are trying to install RStan from source.