Fix build failures caused by dynamo worker