Fixed compilation with SODIUM_SINGLE_THREADED