Fixing #1142: Removing explicit instantiation to avoid duplicate symbols when linking statically