Due to a bug in the CMake script, the gcc template API header containing __attribute__((visibility("default"))) is selected on Windows.
The bug is fixed on master, but maybe you should think about retracting that release or at least add this to the known issues.