Fix unit tests with --disable-curve25519