I don't think the dllimport is intended here. It causes external programs using the header to try and link the symbols only from a DLL, breaking static linking. Programs that dynamically link against czmq DLL should define DLL_EXPORT and will be fine.
Merge pull request #133 from TTimo/master

Fix dllexport declspec for static/DLL usage on Windows