MSVC 11 expects __declspec(dllexport) before return type.
Merge pull request #8 from alterscape/msvc2012_compat

MSVC 11 expects __declspec(dllexport) before return type.