build: link cleanup to fix recurring build error