Instead of varargs, which depend on the compiler, manually build the varargs packs on the stack.