TS-3041: Fix build link errors.