Instantiate Primitive template only if compiling on Windows