Fixed compile warnings in TargetInfo.cs