the duke , rob roy 's chief persecutor and prosecutor , had initiated the construction of a military barracks at inversnaid , to maintain his hold on this , his latest and perhaps least valuable possession .