Sync some autoconf switches with libsodium's