added rthdist, updated Makevars.in accordingly