eliminate strdup

The POSIX name for this item is deprecated. Instead, use the ISO C++
conformant name: _strdup.