Workaround for clang linking errors