check for the OSError that libnacl might throw if libsodium is no here