Fixed linkage of function template arguments to satisfy gcc.