Mark explicit template instantiations as extern to compile on Windows