VC++ 2012: Fixed compile errors with exported functions
Merge pull request #20 from SteffenL/fix-vc11-different-linkage

VC++: Fixed compile errors with exported functions