Fix so link

Fixing issue #352