Fixed a linkage issue with clang's template variables
Tagged this as V1. I think I understand the limitations of this API