fixed linkage for module export.
Merge pull request #2 from rueckstiess/master

fixed linkage for module export.