[bugfix] Removed bogus typename usage outside of template.

There was a typename used outside of template which caused
failed compilation of twolevelmethodest (at least for gcc-4.4).
This patch removes the bogus typename.