Added variadic template macros for older compilers

This is my first attempt, so hopefully I havene't broken the linux build,
and everything will be smooth.