Try to build against NaCl and fall back to libsodium