Fix extern for dlopen in MacOSX
Merge pull request #28 from sergey-miryanov/dev-linux-fix-macosx-dlopen

Fix extern for dlopen in MacOSX