I'm occupied by fixing other bugs and didn't have time to look into your
problem closely. At a grance, it seems that the problem comes from compiler
linker side. Many compilers still have problem resolving symbols from
template and other complicated C++ language constructs.
This is my comment right now. Let me finish other work before looking into
this closer.
Masaharu Goto