[Bug 1078438] Templated types are causing "Could not find a typemap for C type"