Fixed build error with libsodium.