clang: fix warnings related to 'typename'