fix build errors in mock-task
fix build errors in mock-task

Microsoft/vsts-task-lib,Microsoft/vso-task-lib,Microsoft/vsts-task-lib,Microsoft/vso-task-lib,Microsoft/vsts-task-lib,Microsoft/vso-task-lib,Microsoft/vsts-task-lib,Microsoft/vsts-task-lib