Fixing clang linker problem