[TargetDefinition] Handle build configurations case insensitively