The windows DLL build forbids the usage of the templates for members.
This is ridiculous as it says STL can not be used.
And there is probably no workaround.
http://www.unknownroad.com/rtfm/VisualStudio/warningC4251.html
The fact that everything have to be marked manually with dllimport/export is smaller problem.