Avoid a GCC bug.

GCC crashes with a segmentation fault if ‘using’ is used rather than ‘typedef’ for mem::variant aliases.
Bug submitted here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59066