constify TargetMachine argument.