Use typedef instead of using for type alias.

This fixes the build for GCC 4.6.