Proper export library.
Merge pull request #38 from vaot/master

Updated exporting of library.