Allow libsodium to be installed in a custom path
Solaris/SmartOS fix for libsodium