Don't use 'typename' in non-template context

This fixes the build on GCC 4.4.

Pointy hat: @bska
Merge pull request #215 from bska/fix-build-gcc44

Don't use 'typename' in non-template context