Fixing template instantiation error in older compilers.