Handled case of Windows line endings in getTargetNamesAndCTs