build error and hint added when tmtools are missing