FIX: make LEGACY_PLUGIN re-entrant.  extern "C" strtok_r() put conditionally into libcommon.
Add strtok_r.c