fix compilation on older gcc

on squeeze (gcc 4.4.5) it fails with 
error: using ‘typename’ outside of template
removing the typename keyword fixed it