Variadic macro solution, working on windows