explicitly declare template argument

this solves a compilation error on OSX/gcc-4.6