Fix "multiple definition" error in downstream projects