Improve libsodium library loading

This should future-proof us for a while against the frequent soname
bumps by the libsodium project.
Merge pull request #22 from terminalmage/improve-library-loading

Improve libsodium library loading